row = 0

while row < 5:
    row += 1
    col = 0
    while  col < row:
        col += 1
        print("*", end = "")
    print("第 %d 行" % row)    

""""
row = 0

while row < 5:
    row += 1
    print("*" * row)

"""